home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / tw14w12s.zoo / tw14w12s / yielder.c < prev   
Encoding:
C/C++ Source or Header  |  1993-09-28  |  355 b   |  21 lines

  1. #include <minimal.h>
  2. #include <aesbind.h>
  3. #include <mintbind.h>
  4.  
  5. /* Gcc convention for accessories */
  6.  
  7. extern int _app;
  8. char _stack_heap[8192];
  9. void *_heapbase = (void *)_stack_heap;
  10. long _stksize = sizeof(_stack_heap);
  11.  
  12. main()
  13. {
  14.     appl_init();
  15.     while (1) {
  16.         int j;
  17.         evnt_multi(MU_TIMER,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,&j,&j,&j,&j,&j,&j);
  18.         Syield();
  19.     }
  20. }
  21.